//
//  TracksDataSource.h
//  MantuPlay
//
//  Created by Markus Sintonen on 14.8.2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DatabaseObjectDataSource.h"
#import "Album.h"

@interface TracksDataSource : NSObject<DatabaseObjectDataSource> {	
	NSArray *tracks;
	NSString *navigationBarTitle;
	
	NSString *tracksFromAlbum;
	NSString *tracksFromArtist;
	NSString *tracksFromGenre;
	
	BOOL orderByTrackNumber;
	
	BOOL showTrackArtistAndAlbum;
	BOOL sectioned;
	BOOL showTrackCountCell;
}

@property (nonatomic, retain) NSString *navigationBarTitle;
@property (nonatomic, assign) BOOL showTrackArtistAndAlbum;
@property (nonatomic, assign) BOOL sectioned;

-(id)initWithTracksFromAlbum:(NSString*)album artist:(NSString*)artist genre:(NSString*)genre orderByTrackNumber:(BOOL)orderByTrackNum;
@end
